package util;

public class ScoreGenerator {
	
	public static int generateScore(){
		return generateScore(100);
	}
	
	public static int generateFailureScore(){
		return generateScore(60);
	}
	
	public static int generateScore(int degree){
		if(degree>0){
			return (int)(Math.random()*degree);
		}else{
			return generateScore();
		}
	}

}
